package com.example.lib_common.view.model

import com.example.lib_common.view.api.BaseApiServer

//基础仓库层
abstract class BaseRepository <S:BaseApiServer>{
    protected val apiServer:S

    init {
        apiServer = createApiServer()
    }

    protected abstract fun createApiServer():S

}